package com.enjoyor.soa.traffic.core.tsms.mapper.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.enjoyor.soa.traffic.core.tsms.constant.TaskExecuteRecordSqlId;
import com.enjoyor.soa.traffic.core.tsms.domain.TaskExecuteRecord;
import com.enjoyor.soa.traffic.core.tsms.mapper.ITaskExecuteRecordMapper;
import com.enjoyor.soa.traffic.frame.support.mybatis.mapper.impl.BaseMapper;

@Service
@Transactional
public class TaskExecuteRecordMapper extends BaseMapper<TaskExecuteRecord> implements ITaskExecuteRecordMapper {
	@Override
	public List<TaskExecuteRecord> getExecuteTaskRecordList(Map<String, Object> map){
		return sqlSessionTemplate.selectList(getSqlName(TaskExecuteRecordSqlId.SQL_SELECT_LIST), map);
	}
}